package com.catt.orderdinner.dataobject;
import lombok.Data;
import org.hibernate.annotations.DynamicInsert;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;

@Entity
@Data
public class OrderDetail {
    @Id
    private String detailId;

    /** 订单id. */
    private String orderId;

    /** 菜品ID. */
    private String foodId;

    /** 菜品名称. */
    private String foodName;

    /** 当前价格. */
    private int foodPrice;

    /** 菜品数量. */
    private String foodQuantity;

    /** 菜品图片. */
    private String imgFood;

    /** 创建时间. */
    private Date createTime;

    /** 更新时间. */
    private Date updateTime;
}
